#ifndef GLOW_H
#define GLOW_H

#include <GL/glfw.h>
#include <cstdlib>
#include <string>

namespace glow
{
	class Glow
	{
		private :
		
			bool _fullScreen;
			int _width;
			int _height;
			
		public :

		/*
		 * Inits an OpenGL Context with GLFW.
		 * It will create a width*height window.
		 */
		Glow(int width, int height, bool fullScreen);
		
		
		/*
		 * Builds a GLFW window with width*height ,
		 * fullScreen must be true for enble the full screen mode.
		 */
		bool init ();
		
		/*
		 * Set the window's title.
		 */
		void setWindowTitle (std::string title);
		
		/*
		 * Set the window's size.
		 */ 
		void setWindowSize (int width, int height);
		
		/*
		 * Move the window to (x,y) position.
		 */ 
		void setWindowPos (int x, int y);
		
		/*
		 * Kill all GLFW threads and close the window.
		 */
		~Glow();
		
	};
}

#endif
